package com.yingran.beiqi.activity

import android.content.Intent
import android.os.Bundle
import android.util.Log
import com.yingran.beiqi.R
import com.yingran.beiqi.activity.mapbox.MapActivity
import kotlinx.android.synthetic.main.activity_test.*

class TestActivity : BaseActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_test)
        buttonPanel.setOnClickListener {
            Log.e("Tag", "哈哈")
            startActivity(Intent(this, MapActivity::class.java))
        }
    }

    override fun onStart() {
        super.onStart()
    }

    override fun onResume() {
        super.onResume()
    }

    override fun onPause() {
        super.onPause()
    }

    override fun onStop() {
        super.onStop()
    }

    override fun onDestroy() {
        super.onDestroy()
    }
}